﻿using JYB.SummitExam.BLL.Factory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JYB.SummitExam.BLL.BLL
{
    public class QuestionBankBLL
    {
        AbstractFactory af = new QuestionBankFactory();

        /// <summary>
        /// 将Excel表中的数据导入到数据库
        /// </summary>
        /// <param name="questionbank"></param>
        /// <returns></returns>
        public int ToLeadQuestion(QuestionBank questionbank)
        {
            return af.GetQuestionBankDAL().ToLeadQuestion(questionbank);
        }
    }
}
